package com.iven.xie.designpattern.adapter.sms;

/**
 * 阿里大鱼适配器
 * @author iven.xie
 */
public class AliDaYuSmsAdapter implements SmsChannel {
    @Override
    public boolean support(Object adapter) {
        return adapter instanceof AliDaYuSmsAdapter;
    }

    @Override
    public String send(String mobile, String context) {
        return "阿里大鱼手机号："+mobile+"，内容:"+context+"发送短信成功";
    }
}
